package com.evolved.automata.experimental;
import java.io.*;

public interface Serializer {
	
	
	// Need to figure out what to do with exceptions.  Probably can't just let them bubble up
	
	public void SetName(String uniqueName);

	public void Load(BufferedReader reader);

	public void Load(String fileFullName);
	
	public void Save(String fileFullName);
	public  void Save(BufferedWriter writer); 
	public void SaveData(BufferedWriter writer);
	
	public void AddData(String dataLine);
	
	public void AddData(Serializer object, String instanceId);
	
	public void PrepareSerialization();
	
	public String GetTypeName();
}
